package com.zxc.gulimall.ware.feign;

import com.zxc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "product-service")
public interface ProductFeignClient {

    @GetMapping(value = "/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);
}
